From 0c7c27286e566415d040ef95c37df48dbf6d62f5 Mon Sep 17 00:00:00 2001 From: Sven Luther Date: Wed, 2 Nov 2005 12:00:05 +0000 Subject: [PATCH] Let's do the abiname sed before clean too. --- debian/rules | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index 17973cff..0fb9db0d 100755 --- a/debian/rules +++ b/debian/rules @@ -37,10 +37,12 @@ ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -s endif -config-stamp: configure +abi-sed: for t in `find . -name \*.in`; do \ sed -e 's%#OcamlABI#%$(OCAMLABI)%' -e 's%#OcamlMAJOR#%$(OCAMLMAJOR)%' $$t >$${t%.in}; \ done + +config-stamp: configure abi-sed dh_testdir # Add here commands to configure the package. ./configure --with-pthread -prefix /usr \ @@ -89,7 +91,7 @@ build-indep-stamp: patch-stamp config-stamp # Add here commands to compile the indep part of the package. #$(MAKE) doc -clean: unpatch +clean: abi-sed unpatch dh_testdir dh_testroot rm -f build-arch-stamp build-indep-stamp config-stamp -- 2.30.2